-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/absences #12
Feature/absences #12
Conversation
…d in multiple files
…le once more tests are added
Codecov Report
@@ Coverage Diff @@
## master #12 +/- ##
==========================================
- Coverage 84.34% 84.13% -0.21%
==========================================
Files 6 6
Lines 728 769 +41
==========================================
+ Hits 614 647 +33
- Misses 114 122 +8
Continue to review full report at Codecov.
|
… absence id queries
…mock test for creating absences
# Conflicts: # tests/apitest_shared.py
Test are added. @klamann can you have a look at the changes? |
there's a lot of changes in here, I'll need some time to look into it |
Hey @philipflohr, I've set up a matrix chat for this project at #personio-py:matrix.org. Would you like to meet up there and have a chat? Because you're doing quite a bit of work on these PRs and I don't have that much time to work on this project right now, I think it would be helpful if we had a more efficient way of communicating. |
…number of elements
Hi @klamann
Currently still missing: mocking functions and mocking data restructuring. Just to make sure I remember stuff correctly: You want all mocking data to be in a single file and all the mocking functions in one separate file? |
…le argument anymore)
was this correct? |
Hey, sorry for the delay. Yes, the mock data should go in one file, but you can split the tests that use the mock data in separate files if you prefer. |
@klamann done. From my point of view this PR is now ready to be merged |
ok thanks! I might be able to review this later today |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work! I really like the detailed mock tests that you included.
I left a few comments, mostly about code style, but there are also 1-2 potential bugs in there I would like you to have a look at.
oh, one more thing: please update the README (section API Functions) and add a CHANGELOG entry for this PR |
…licts when in production)
@klamann if I'm not missing something all your remarks were addressed. |
hey @philipflohr, sorry for letting you wait so long, I didn't notice that you were done with the changes. This looks fine for me, I'll merge it. Should we create a new release, now that absences are implemented, or would you like to wait for #13? |
Thanks for merging. |
ok, done :) |
This adds absence handling and raw api tests for absences and mock api tests for absence creation, deletion and absence retrieval